<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

  <title></title>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=8" />
  <link href="styles/default.css" rel="stylesheet" type="text/css" />

  <script type="text/javascript" src="scripts/date.format.js"></script> 
  <script type="text/javascript" src="scripts/appsettings.js"></script>
  <script type="text/javascript" src="scripts/template.js"></script>
  <script type="text/javascript" src="scripts/login.js"></script>
  <script type="text/javascript" src="scripts/device.js"></script>
  <script type="text/javascript" src="scripts/command.js"></script>
  <script type="text/javascript" src="sql/devicedal.js"></script>
  <script type="text/javascript" src="sql/commandsdal.js"></script>
  <script type="text/javascript" src="jsolait/jsolait.js"></script>
  <script type="text/javascript" src="scripts/fwcommands.js"></script>
  <script type="text/javascript" src="sql/firmwaredal.js"></script>
  <script type="text/javascript" src="scripts/common.js"></script>

  <!--[if (lte IE 6)|(gte IE 8)]>
  <style type="text/css">
     #outer {height:100%;display:table;}
  </style>
  <![endif]-->

</head>

<body onload="InitFWCommandsPage();">

<div id="outer">
    <div id="inner">
        <div id="header"></div>

        <div id="content">
           	<div id="columnB"></div>

        <!-- START PAGE CONTENT -->
        
        	<div id="columnA">
		    <h2>Firmware Execute Commands</h2>
		    
		    <table cellpadding="0" cellspacing="0" class="containerDiv" width="800px">
	       	   <tr>
		      	 <td colspan="2" align="left">
			     	<table width="100%" cellpadding="0" cellspacing="0">
				    	<tr>								
					       	<td class="windowHeader">Run FW Commands</td>
    					</tr>
	       			</table>
	   	       	</td>
    		  </tr>
    		  		<tr>
		              	<td class="spacer" colspan="2"></td>
            		</tr>
		      <tr>
		          <td colspan="2" align="center">
		              <table width="600px"  cellpadding="0" cellspacing="0">
		            	  <tr>
               			      <td class="spacer" colspan="2"></td>
                  		  </tr>
                  		  
           		  		  <tr>
                          	<td class="labels" align="left" style="width: 160px;">
            	       			Command &nbsp;.................... &nbsp;
                			</td>
               	      	    <td align="left">
                                <select id="ddlCommands" name="ddlCommands" class="dropdown" onchange="CommandSelectionChanged();" style="width: 205px;"> <option /> </select>&nbsp;
                  			</td>
                	      </tr>
                		
                	      <tr>
			                 <td class="labels" align="left" style="width: 160px;">
			                    Device &nbsp;......................... &nbsp;
			                 </td>
			                 <td align="left">   
			                    <select id="ddlDevice" name="ddlDevice" class="dropdown" style="width: 205px;"> <option /> </select> <br />
			                 </td>
			              </tr>
			              
			              <tr>                          		 
				             <td class="labels" align="left" style="width: 160px;" colspan="2">
				                <span id="spnFileName" style="display: none;">
				                File Name &nbsp;..................... &nbsp;
				                <select id="ddlFileName" name="ddlFileName" class="dropdown" style="width: 350px;"> <option /> </select> <br />                    			
				                </span>	
				             </td>   
                          </tr>
                          
                          <tr>
			                 <td colspan="2" align="left">
                				<table width="100%" cellpadding="0" cellspacing="0">
				        	<tr>								
						<td colspan='2' align='center'>
					       <input type="button" id="btnExecute" name="btnExecute" value='Execute' class="button" onclick="ExecuteCommand();" />
					   	   <input type="button" id="btnCancel" name="btnCancel" value='Cancel' class="button" onclick="CancelClicked();" />
					    </td>
					</tr>
					<tr>
		              	<td class="spacer" colspan="2"></td>
            		</tr>	
            		<tr>
			             <td colspan="2" align="center">
                		      <span id="spnExecuteResult"></span>
                        </td>
            		</tr>
         			<tr>
		              	<td class="spacer" colspan="2"></td>
            		</tr>
				</table>
			</td>
		</tr>
                		
                		
                      </table>
                      <br /><br />          
		          </td>
		      </tr>
		      
		       <tr>
		          <td colspan="3" align="right">
                     	<input type="button" id="btnBack" name="btnBack" value='Back' class="button" onclick="BackButtonClicked();" />
		          </td>
            </tr>
		      
		    </table>
		    
		  	</div>
		  	
        <!-- END PAGE CONTENT -->

        </div>
    </div>
</div>

<div id="footer"></div>

</body>
</html>
